<div ng-init="init();" class="kmi-layout-content B0105-content">
    <div class="kmi-header-row">
        <div class="kmi-side-btn left" ng-click="back();">
            <i class="material-icons">&#xE408;</i>
            <div class="kmi-can-click"></div>
        </div>
        <div class="brand-title">
            <div class="custom" ng-if="companyName">
                <div class="title" ng-bind="companyName"></div>
                <img src="" alt="" class="brand">
                <div class="gap"></div>
            </div>
            <div class="digiwin">
                <img src="image/smes_v340/logo_ch.png" alt="">
                <img src="image/smes_v340/logo_en.png" alt="">
            </div>
        </div>
        <div class="header-title" ng-bind="'B0105.title' | translate"></div>
        <div class="header-logo"></div>
    </div>
    <div class="kmi-layout-main-content">
        <div class="codition_panel">
            <div class="kmi-text-fields">
                <label class="label" ng-bind="'B0105.wo_no' | translate"></label>
                <input class="value" id="wo_no" ng-model="wo_no" ng-keypress="barcodeScan($event);"></input>
                <div class="tip search" ng-click="load_wo_noList();"><img src="image/icons/search.png"></img> </div>
                <div class="kmi-button kmi-button-confrim"  ng-click="search()" style="width:100px">
                    <label ng-bind="'common.btn.search' | translate"></label>
                    <div class="kmi-can-click"></div>
                </div>
            </div>
            <div class="kmi-text-fields">
                <label class="label" ng-bind="'B0105.wo_qty' | translate"></label>
                <label class="value" ng-bind="wo_qty" style="flex: 0.5;"></label>
                <label class="label" ng-bind="'B0105.unrelease_qty' | translate"></label>
                <label class="value" ng-bind="unrelease_qty" style="flex: 0.5;"></label>
                <label class="label" ng-bind="'B0105.customer_no' | translate"></label>
                <label class="value" ng-bind="customer_no"></label>
            </div>
            <div class="kmi-text-fields">
                <label class="label" ng-bind="'B0105.plan_sdate' | translate"></label>
                <label class="value" ng-bind="plan_sdate"></label>
                <label class="label" ng-bind="'B0105.plan_edate' | translate" style="padding-left: 130px;"></label>
                <label class="value" ng-bind="plan_edate"></label>
            </div>
        </div>
        <div class="kmi-layout-page">
            <div class="kmi-list column-selector" column-selector-id="plot_info_detail">
                <div class="kmi-list__header">
                    <div class="kmi-list__column" style="flex:2;" ng-bind="'B0105.list.column1' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B0105.list.column2' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B0105.list.column3' | translate"></div>
                    <div class="kmi-list__column" style="flex:2;" ng-bind="'B0105.list.column4' | translate"></div>
                </div>
                <div class="kmi-list__row-content">
                <div class="kmi-list__row" ng-repeat="item in plot_info_detail track by $index">
                    <div class="kmi-list__column column-border" style="flex:2;" ng-bind="item.plot_no"></div>
                    <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.release_qty"></div>
                    <div class="kmi-list__column column-border column-input" style="flex:1;">
                        <input mdl-calculater="item.modi_release_qty" mdl-calculater-decimal="true" mdl-calculater-no-zero="true" ng-show="item.status==0"></input>
						<input mdl-calculater="item.modi_release_qty" mdl-calculater-decimal="true" mdl-calculater-no-zero="false" ng-show="item.status==2"></input>
                    </div>
                    <div class="kmi-list__column column-border" style="flex:2;" ng-bind="'B0105.plot_status_'+item.status | translate"></div>
                </div>
                </div>
            </div>
        </div>
        <div class="kmi-layout-footer">
            <button class="mdl-button mdl-js-button mdl-button--fab mdl-shadow--custom mdl-button--custom1"
            ng-click="confirm();" ng-disabled="!plot_info_detail || plot_info_detail.length==0">
              <i class="material-icons">done</i>
            </button>
        </div>
    </div>
</div>
